<template>
    <div>共{{ commentStore.comments.length }}条评论</div>
    <h2 @click="commentStore.incCount">{{ commentStore.count }}</h2>
    <h2 @click="commentStore.incPrice">{{ commentStore.price }}</h2>
</template>

<script setup>
import useCommentStore from '../store/module/comment'
const commentStore = useCommentStore()
</script>

<style></style>